adTempus API
PreviousUpNext
ICredentialProfile::SetPassword Method

Sets the password for the profile.

C++
HRESULT SetPassword(BSTR newPassword);
C#
SetPassword(String newPassword);
Visual Basic
Sub SetPassword(newPassword As String)

The caller must have saModify permission for the profile. ChangePassword can be used by anyone who knows the old password, without requiring saModify permission.

adTempus API Reference version 3.0.0.0, revised 10/30/2008